package com.aiti.lulian.mapper.card.industry;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.dto.industry.SupportContentQueryDto;
import com.aiti.lulian.entity.industry.CardGovIndustrySupportContent;
import com.aiti.lulian.vo.industry.SupportContentVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CardGovIndustrySupportContentMapper extends SuperMapper<CardGovIndustrySupportContent> {

    Integer getCount(@Param("name") String name, @Param("industryId") String industryId, @Param("supportId") String supportId);

    void deleteIndustrySupportContent(@Param("baseIds") List<String> baseIds);

    List<SupportContentVo>  queryIndustrySupportContentList(IPage<SupportContentVo> page, @Param("queryDto") SupportContentQueryDto queryDto);

    void updateIndustrySupportContent(@Param("po") CardGovIndustrySupportContent po);
}
